package com.centaline.crawler.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.format.NumberFormat;
import lombok.Data;

import java.util.Date;

/**
 * @author: wbzhangzp
 * @date: 2021-05-27 16:42
 */
@Data
public class ComareaExcel {

    /**
     * @ExcelProperty("序号") : 指定表格的表头名
     *
     */

    @ExcelProperty(value = "序号", index = 0)
    private Integer id;

    @ExcelProperty(value = "区域", index = 1)
    private String area;

    @ExcelProperty(value = "版块", index = 2)
    private String section;

    @ExcelProperty(value = "坐标经度", index = 3)
    // @ExcelIgnore // 忽略当前身高属性，就是这个字段不会导入的表格中
    @NumberFormat("#.##############") // 小数点后保留14位
    private Double x;

    @ExcelProperty(value = "坐标纬度", index = 4)
    @NumberFormat("#.##############") // 小数点后保留14位
    private Double y;



}
